//
//  ZCOrderCanselResionCell.m
//  ZCJZ
//
//  Created by sujeking on 2019/3/2.
//  Copyright © 2019年 jeking. All rights reserved.
//

#import "ZCOrderCanselResionCell.h"
#import "TBCityIconFont.h"
@interface ZCOrderCanselResionCell()

@property (weak, nonatomic) IBOutlet UIImageView *checkImv;
@property (weak, nonatomic) IBOutlet UILabel *label;

@end


@implementation ZCOrderCanselResionCell

- (void)awakeFromNib {
    [super awakeFromNib];
    self.selectionStyle = UITableViewCellSelectionStyleNone;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];
    if (selected) {
        self.checkImv.image = [UIImage iconWithInfo:TBCityIconInfoMake(@"\U0000e648", 25, [generalToolBox getColorWithHexadecimalColorStr:@"0xC20114"])];
    } else {
        self.checkImv.image = [UIImage iconWithInfo:TBCityIconInfoMake(@"\U0000e647", 25, [generalToolBox getColorWithHexadecimalColorStr:@"0x999999"])];
    }
}

- (void)setDict:(NSDictionary *)dict {
    _dict = dict;
    self.label.text = [dict valueForKey:@"content"];
}

@end
